# 请补充代码
s = input()
a = eval(s)
print(f'{a:.3f}')
